projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b15eee4
)
compose: Squash a memory leak
author
Colin Walters
<walters@verbum.org>
Fri, 4 Nov 2011 15:03:44 +0000
(11:03 -0400)
committer
Colin Walters
<walters@verbum.org>
Fri, 4 Nov 2011 15:03:44 +0000
(11:03 -0400)
ostree/ot-builtin-compose.c
patch
|
blob
|
history
diff --git
a/ostree/ot-builtin-compose.c
b/ostree/ot-builtin-compose.c
index a98751b96e18e2ae1c8c9640e66cba136ec3296b..849de45cd2e796444cee5ebbee4f2af153c88323 100644
(file)
--- a/
ostree/ot-builtin-compose.c
+++ b/
ostree/ot-builtin-compose.c
@@
-140,6
+140,9
@@
merge_dir (GFile *destination,
if (!g_file_move (src_subfile, dest_subfile, 0, NULL, NULL, NULL, error))
goto out;
}
+
+ g_clear_object (&dest_subfile);
+ g_clear_object (&src_subfile);
}
if (temp_error)
{